<!--
 * @Descripttion: 
 * @version: 
 * @Author: ck
 * @Date: 2021-07-14 13:06:13
 * @LastEditors: ck
 * @LastEditTime: 2021-07-14 13:22:08
-->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div id="app">
        <svg id="svg" xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink">
            <rect width="100" height="100" fill="blue"></rect>
        </svg>
    </div>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/svg.js/3.1.1/svg.min.js"
        integrity="sha512-Aj0P6wguH3GVlCfbvTyMM90Zq886ePyMEYlZooRfx+3wcSYyUa6Uv4iAjoJ7yiWdKamqQzKp7yr/TkMQ8EEWbQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script>
        SVG('#svg')
    </script>
</body>

</html>